package com.hz.service;


import com.hz.pojo.Article;
import com.hz.pojo.PageBean;

public interface ArticleService {
    int addArticle(Article article);

    PageBean<Article> list(Integer pageNum, Integer pageSize, Integer categoryId, String state);

    int updateArticle(Article article);

    int deleteArticle(Integer id);

    Article getDetail(Integer id);
}
